<!--http://m.fkcm33.demo.webportal.top/?_t_t_t=0.040536850420768156-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>留言板</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=2.0, user-scalable=1"> -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="layoutmode" content="standard">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">


    <!--uc浏览器判断到页面上文字居多时，会自动放大字体优化移动用户体验。添加以下头部可以禁用掉该优化-->
    <meta name="wap-font-scale" content="no">

    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="Pragma" content="no-cache">


    <link rel="stylesheet" href="/js/plugin/swiper/4.1/swiper.min.css">

    <link rel="stylesheet" type="text/css" href="//mo.faisys.com/css/fontsIco.min.css?v=201806081418">
    <link rel="stylesheet" type="text/css" href="//mo.faisys.com/css/base.min.css?v=201807031442" title="default">
    <link rel="stylesheet" type="text/css" href="//mo.faisys.com/css/bannerAnimation.min.css?v=201711201610" title="">

    <link rel="stylesheet" id="mobiStyleTemplateCss" type="text/css"
          href="//mo.faisys.com/css/template/1027_6.min.css?v=201806081418">

    <link rel="stylesheet" id="mobiCubeNavigationCss" type="text/css"
          href="//mo.faisys.com/css/cubeNavigation.min.css?v=201806181538">
    <link rel="stylesheet" href="/css/build/front/website.css">
    <script type="text/javascript">
        //html root的字体计算应该放在前面，这样计算就不会有误差了/
        //2016.3.23 wjq update 之所以要加个判断返回一个20.5，是因为当用户在谷歌等浏览器直接输入手机端网站网址时，如果用户设置模块自定义样式的高度比较小，由于这时候的clientWidth为1920px，及返回的_htmlFontSize为40，这时候就会使模块太小，展示不完全，因此先取一个较为准确的值去展示。Mobi.resetHtmlFontSize()顺便也加了
        var _htmlFontSize = (function () {
            var clientWidth = document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth;
            //if(clientWidth > 768) clientWidth = 768;
            if (clientWidth > 768 && clientWidth < 1280) {
                clientWidth = 768;
            } else if (clientWidth >= 1280) {
                clientWidth = 512;
            }
            document.documentElement.style.fontSize = clientWidth * 1 / 16 + "px";
            return clientWidth * 1 / 16;
        })();

    </script>
</head>
<body faiscomobi="true" id="g_body" class="g_locale2052 mobiCol3">
<div class="webLeft"></div>
<div id="g_web" class="g_web">
    <!--头部-->
    <div id="webHeader" class="webHeader webHeaderBg">
        <div id="header" class="header" style="padding: 0px;"><span class="pageLogo   "
                                                                    style="display: none; visibility: visible; height: 41px; width: 41px;"
                                                                    id="pageLogo" sid="0" pw="160" ph="160"><a href="/"><div
                id="pageLogoImg" class="J_logoImg logoImg "
                style="background-image:url(//2.ss.faisys.com/image/no-pic.jpg);background-size: contain;background-position: center;background-repeat: no-repeat;"></div></a></span><span
                class="pageTitle " id="pageTitle" style="max-width: 365px;"><h1
                style="font-weight:normal; font-size: inherit; display: inline-block; width: 100%; overflow: hidden; text-overflow: ellipsis;"><a
                href="/" style="color:inherit;"></a></h1></span></div>
    </div>


    <div id="module7" class="form Handle  formStyle10 " _autoheight="1" _height="0" _width="0" _autowidth="1"
         _bheight="0" _intab="0" _infold="0" style="">
        <!--标题-->
        <div _bannerautoheight="1" class="formBannerTitle formBannerTitle309" style="height: 2rem;">
            <div class="titleLeft titleLeft309">
            </div>
            <div class="titleCenter titleCenter309">
                <div class="titleText titleText309">
                    <div class="titleTextIcon icon-titleText">&nbsp;</div>
                    <div class="textContent">留言板</div>
                </div>
                <div class="formBannerMore formBannerMore309"></div>
            </div>
            <div class="titleRight titleRight309">
            </div>
        </div>

        <div class="formMiddle formMiddle7">
            <div class="middleLeft middleLeft7">
            </div>
            <div class="middleCenter middleCenter7">
                <div class="formMiddleContent formMiddleContent7 moduleContent" _innertype="0">
                    <div class="msgBoard">
                        <div class="msgTop">
                            <div class="noticeArea">
                                <div class="notice" style="display:none;"></div>
                            </div>
                            <div class="g_globalLine"><input id="reqName" type="text" maxlength="50 "
                                                             placeholder="姓名(必填)"
                                                             class="msg_isMust msg_ipt g_input"><span
                                    class="icon-mnameIcon"></span></div>
                            <div class="g_globalLine"><input id="reqEmail" type="email" value="" maxlength="50 "
                                                             placeholder="邮箱" class=" msg_ipt g_input"><span
                                    class="icon-memailIcon"></span></div>
                            <div class="g_globalLine">
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" id="reqPhone"
                                                             type="tel" value="" maxlength="50 " placeholder="电话"
                                                             class=" msg_ipt g_input"><span
                                    class="icon-mphoneIcon"></span></div>
                            <div class="g_globalLine g_globalLine_textArea"><textarea id="reqContent"
                                                                                      class="g_textArea msg_textArea"
                                                                                      maxlength="10000"
                                                                                      placeholder="内容："></textarea><span
                                    class="icon-mmsgIcon"></span></div>
                            <div style="clear:both"></div>
                            <div class="g_globalLine g_globalLine_subm">
                                <input type="button"
                                       class="g_button sendIcon msgSubmitButton submitIcon"
                                       id="subminBtn"
                                       value="提交"><span class="mustSpan">&nbsp;&nbsp;</span>
                            </div>
                        </div>
                        <div class="msgBottom msgBottomDisplay">
                            <div class="msgBottomTop">
                                <div class="g_globalLine mtitle">
                                    <div class="mbTitle userMsgIcon" style="display: inline-block;"><span
                                            class="icon-userMsgIcon"></span>用戶留言
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="middleRight middleRight7">
            </div>
        </div>
    </div>

    <!--脚部-->
    <div id="webFooterBox" class="webFooterBox ">
        <!--图片详情Div -->


        <div id="webFooter" class="webFooter moveAnimation">
            <div id="footer" class="footer mallThemeFooter">
                <div class="bottomdiv">
                    <div class="bottom">
                        <div class="backtop" onclick="scrollTo(0,0);">top<b></b></div>
                    </div>
                </div>
                <div class="technical">
                    <div class="technicalSupport footerInfo" style="color: rgb(153, 153, 153); font-size: 0.6rem;"><font
                            face="Arial">©</font>2018 smart-admin
                    </div>
                    <div class="technicalSupport" style="color: rgb(153, 153, 153); font-size: 0.6rem;"><a class="PcVer"
                                                                                                           href="http://fkcm33.demo.webportal.top?_siteUrl"
                                                                                                           target="_blank"
                                                                                                           hidefocus="true"
                                                                                                           style="color: rgb(153, 153, 153); font-size: 0.6rem;">微官网</a>
                    </div>
                </div>
            </div>


        </div>
        <div id="webCustomerServiceBox" class="webCustomerServiceBox" style="opacity: 1;margin-bottom: 0;">
        </div>
    </div>
</div>
<div class="webRight"></div>


<script src="/js/plugin/swiper/4.1/swiper.min.js"></script>
<script src="/js/plugin/jquery-2.2.4.min.js"></script>
<script src="/js/plugin/template-web.js"></script>
<script src="/js/plugin/layer/layer.js"></script>
<script src="/js/smartAui.js"></script>
<script src="/js/smartAui.js"></script>
<script>
    $(function () {
        var account=smartAui.getUrlParam("account");
        $.ajax({
            url: "/front/websiteindex/getWebsiteContactUsList",
            data: {
                account: account,
            },
            success: function (result) {
                if (result.success && result.data && result.data.length > 0) {
                    $("#pageTitle a").text(result.data[0].companyName);
                }
            }
        });
        $("#subminBtn").click(function () {
            var name=$("#reqName").val();
            var email=$("#reqEmail").val();
            var phone=$("#reqPhone").val();
            var content=$("#reqContent").val();

            if(!name){
                layer.msg("请输入姓名");
                return;
            }

            $.ajax({
                url: "/front/websiteindex/addMessage",
                data:  {
                    account:account,
                    name:name,
                    email:email,
                    phone:phone,
                    content:content,
                },
                success: function (result) {
                    if (result.success){
                        layer.msg("提交成功！");
                        setTimeout(function () {
                            history.go(-1);
                        },1000);
                    }else{
                        layer.msg("提交失败！");
                    }
                }
            });

        });
    })
</script>
</body>
</html>